<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    * {
      margin: 0;
      padding: 0;
    }


    .getTop {
      position: absolute;
      z-index: 5;
      left: 50%;
      top: 50%;
      transform: translateX(-50%) translateY(-50%);
      border-radius: 20px !important;
      background-color: rgba(255, 255, 255, .7) !important;

    }

    .bgckimg {
      background: url(./back.jpg);
      width: 100%;
      height: 100%;
      z-index: 2;
      position: absolute;
    }

    .layui-card-header {
      text-align: center;
      margin: 30px;
      /* font-size: 25px; */
    }
  </style>
  <link rel="shortcut icon" href="/admin/favicon.ico" type="image/x-icon" />
  <link rel="stylesheet" href="/admin/fonts/iconfont.css">
  <link rel="stylesheet" href="/admin/lib/layui/css/layui.css" />
  <!-- 导入layuiJS -->
  <script src="/admin/lib/layui/layui.js"></script>
</head>

<body>
  <!-- 背景图片开始 -->
  <div class="bgckimg">
    <img src="/admin/images/back.jpg" alt="" width="100%" height="100%">
  </div>
  <!--登录开始-->
  <div class="layui-card example getTop " style="width: 466px;">
    <div class="layui-card-header">
      <h1>后台管理系统注册</h1>
    </div>
    <div class="layui-card-body">
      <div>
        <form class="layui-form" action="">
          <div class="layui-form-item">
            <label class="layui-form-label">用户名</label>
            <div class="layui-input-block">
              <input type="text" name="username" required lay-verify="required|username" placeholder="请输入用户名"
                autocomplete="off" class="layui-input">
            </div>
          </div>
          <div class="layui-form-item">
            <label class="layui-form-label">密码</label>
            <div class="layui-input-block">
              <input type="password" name="password" required lay-verify="required|password" placeholder="请输入密码"
                autocomplete="off" class="layui-input">
            </div>
          </div>

          <div class="layui-form-item">
            <div class="layui-input-block">
              <button class="layui-btn" lay-submit lay-filter="registerForm">立即注册</button>
              <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
          </div>

        </form>
      </div>
    </div>
  </div>
  <!--登录结束-->
</body>

</html>
<script src="/admin/js/register.js"></script>